package com.itxiao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Category)表实体类
 *
 * @author makejava
 * @since 2025-10-12 17:07:25
 */
@Data
@TableName("category")
@AllArgsConstructor
@NoArgsConstructor
public class Category {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //分类名
    private String name;
    //父级id
    private Integer parentId;
    //图标
    private String icon;
    //级别
    private Integer level;
    //排序
    private Integer sort;
    //分类类型，1代表楼层，2代表店铺风格
    private Integer categoryType;
    //0代表启用，1代表删除
    private Integer status;

    private Integer createBy;

    private Integer updateBy;

    private Date createTime;

    private Date updateTime;
    //pc端图标
    private String pcImage;
}
